<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
	*{
		margin: 0;
		padding: 0;
	}
	body{
		width: 100%;
	}
		header{
			width: 100%;
			height: 200px;
				
			background: red;
			position: absolute;
			top:0;
			left:0;
		}
		footer{
			width: 100%;
			height: 200px;
			background:blue;
			position: absolute;
			bottom:0;
			left:0;
		}
		 .content{
            width: 100%;
            height: 500px;
            background: pink;
        }
        nav{
        	width: 400px;
        	height: 100px;
        	margin: 0 auto;
        	background: #fff; 
        	line-height: 100px;
        }
         nav a{
        	padding: 0 20px;
        }
	</style>
</head>
<body>
	 <header>
	 		<nav>
	 		<a href="#">首页</a>
	 		<a href="#">首页</a>
	 		<a href="#">首页</a>
	 		<a href="#">首页</a>
	 		<a href="#">首页</a>
	 	</nav>
	 </header>
	 <section class="content">
	 	


	 </section>	
	 <footer>
	 	
	 </footer>
	
</body>
</html>